﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace NTmdb.TestProject
{
    /// <summary>
    ///     This is a test class for TmdbAdvancedMoviePreviewListTest and is intended
    ///     to contain all TmdbAdvancedMoviePreviewListTest Unit Tests
    /// </summary>
    [TestClass]
    public class TmdbAdvancedMoviePreviewListTest
    {
        /// <summary>
        ///     A test for TmdbAdvancedMoviePreviewList Constructor
        /// </summary>
        [TestMethod]
        public void TmdbAdvancedMoviePreviewListConstructorTest()
        {
            var target = new TmdbAdvancedMoviePreviewList();
            Assert.IsNotNull( target );
        }

        /// <summary>
        ///     A test for Movies
        /// </summary>
        [TestMethod]
        public void MoviesTest()
        {
            var target = new TmdbAdvancedMoviePreviewList();
            var expected = new List<TmdbAdvancedMoviePreview>();
            target.Movies = expected;
            var actual = target.Movies;
            Assert.AreSame( expected, actual );
        }

        [TestMethod]
        public async Task SerializeDeserializeTest()
        {
            Assert.Inconclusive();
        }
    }
}